package com.youkeyi.ddy.cloud.common.api.application.system.organization;

import com.youkeyi.ddy.cloud.common.api.application.system.menu.dto.SystemMenuDetailCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.menu.dto.SystemMenuListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.menu.param.SystemMenuCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.menu.param.SystemMenuDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.menu.param.SystemMenuListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.menu.param.SystemMenuUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.dto.SystemOrganizationDetailCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.dto.SystemOrganizationListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.param.SystemOrganizationCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.param.SystemOrganizationDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.param.SystemOrganizationListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.organization.param.SystemOrganizationUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * SystemOrganizationCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/system/organization/fallback")
public class SystemOrganizationCloudServiceFallback implements SystemOrganizationCloudService {

    @Override
    public SystemOrganizationListCloudDto list(SystemOrganizationListCloudParam param) {
        return new SystemOrganizationListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public SystemOrganizationListCloudDto mappingList(SystemOrganizationListCloudParam param) {
        return new SystemOrganizationListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public SystemOrganizationListCloudDto all() {
        return new SystemOrganizationListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public SystemOrganizationDetailCloudDto detail(String organizationPrimaryKey) {
        return new SystemOrganizationDetailCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(SystemOrganizationCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(SystemOrganizationUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(SystemOrganizationDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
